<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>

		<title>admin_admin_update.jsp</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css" href="style/styles.css">
		<STYLE type="text/css">
.main {
	text-align: center;
}

.main input {
	border: 1px solid rgb(20, 20, 20);
}

h1 {
	font-size: 40px;
}
</STYLE>
		<script type="text/javascript" src="js/common.js"></script>

	</head>

	<body>
		<div class="main">
			<h1>
				管理员修改
			</h1>
			<s:actionmessage />
			<s:form action="admin!adminUpdate" method="post">
				<s:textfield label="编号" name="admin.adminId" id="admin_id"
					readonly="true" style="background-color:gray;"></s:textfield>
				<s:textfield label="用户名" name="admin.adminUsername"
					id="admin_username"></s:textfield>
				<s:textfield label="密码" name="admin.adminPassword"
					id="admin_password"></s:textfield>
				<s:submit value="修改" onclick="return adminValidate()"></s:submit>
			</s:form>
			<div>
				<a href="admin!adminFindall">返回管理员管理</a> &nbsp;&nbsp;&nbsp;&nbsp;
				<a href="javascript:location.reload();">刷新页面</a>
			</div>
		</div>
	</body>
</html>
